<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="active"><a href="#system_set" aria-controls="system_set" role="tab" data-toggle="tab">系统设置</a></li>
            <li role="presentation"><a href="#applet" aria-controls="applet" role="tab" data-toggle="tab">小程序设置</a></li>
            <li role="presentation"><a href="#payment" aria-controls="payment" role="tab" data-toggle="tab">支付设置</a></li>
            <li role="presentation"><a href="#applet_notice" aria-controls="applet_notice" role="tab" data-toggle="tab">订阅消息</a></li>
            <li role="presentation"><a href="#order_set" aria-controls="order_set" role="tab" data-toggle="tab">订单设置</a></li>
            <li role="presentation"><a href="#websocket" aria-controls="websocket" role="tab" data-toggle="tab">websocket配置</a></li>
            <li role="presentation"><a href="#sound_recording_set" aria-controls="sound_recording_set" role="tab" data-toggle="tab">行程录音</a></li>
            <li role="presentation"><a href="#alibaba_cloud" aria-controls="alibaba_cloud" role="tab" data-toggle="tab">阿里云短信服务</a></li>
        </ul>
    </div>
    <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
        <div class="tab-content">
            <!--系统设置-->
            <div role="tabpanel" class="tab-pane active" id="system_set">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Applet_name')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-applet_name" class="form-control" name="row[applet_name]" type="text" value="{$row.applet_name|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Share_title')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-share_title" class="form-control" name="row[share_title]" type="text" value="{$row.share_title|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Share_image')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-share_image" class="form-control" size="50" name="row[share_image]" type="text" value="{$row.share_image|htmlentities}">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="faupload-share_image" class="btn btn-danger faupload" data-input-id="c-share_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-share_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-share_image" class="btn btn-primary fachoose" data-input-id="c-share_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-share_image"></span>
                            </div>
                            <ul class="row list-inline faupload-preview" id="p-share_image"></ul>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Theme_colors')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="form-inline">
                                <input id="c-theme_colors" class="form-control" size="50" name="row[theme_colors]" type="text" value="{$row.theme_colors|htmlentities}">
                                <span><button type="button" id="colorpicker" class="btn btn-danger colorpicker" data-input-id="c-theme_colors"><i class="fa fa-eyedropper"></i> {:__('选择颜色')}</button></span>
                                <span class="msg-box n-right" for="c-theme_colors"></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Awaiting_payment_status')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="radio">
                                {foreach name="awaitingPaymentStatusList" item="vo"}
                                <label for="row[awaiting_payment_status]-{$key|htmlentities}"><input id="row[awaiting_payment_status]-{$key|htmlentities}" name="row[awaiting_payment_status]" type="radio" value="{$key|htmlentities}" {in name="key" value="$row.awaiting_payment_status"}checked{/in} /> {$vo|htmlentities}</label>
                                {/foreach}
                            </div>
                            <span class="help-block" style="color: #f11414">提示：开启待补差，需要设置微信公众号Appid和公众号密钥</span>
                        </div>
                    </div>
                    <div class="form-group wananchi_appid {if $row.awaiting_payment_status == 2}hide{/if}">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Wananchi_appid')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-wananchi_appid" class="form-control" name="row[wananchi_appid]" type="text" value="{$row.wananchi_appid|htmlentities}">
                            <span class="help-block" style="color: #f11414">提示：{:__('Wananchi_appid')}需要在微信商户平台绑定微信商户号</span>
                        </div>
                    </div>
                    <div class="form-group wananchi_secret {if $row.awaiting_payment_status == 2}hide{/if}">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Wananchi_secret')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-wananchi_secret" class="form-control" name="row[wananchi_secret]" type="text" value="{$row.wananchi_secret|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">新订单提醒语音:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-new_order_notice" class="form-control" size="50" name="row[new_order_notice]" type="text" value="{$row.new_order_notice|htmlentities}">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="faupload-new_order_notice" class="btn btn-danger faupload" data-input-id="c-new_order_notice" data-multiple="false" data-preview-id="p-new_order_notice"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-new_order_notice" class="btn btn-primary fachoose" data-input-id="c-new_order_notice" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-new_order_notice"></span>
                            </div>
                            <ul class="row list-inline faupload-preview" id="p-new_order_notice"></ul>
                        </div>
                    </div>
                </div>
            </div>

            <!--小程序设置-->
            <div role="tabpanel" class="tab-pane" id="applet">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Applet_appid')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-applet_appid" class="form-control" name="row[applet_appid]" type="text" value="{$row.applet_appid|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Applet_secret')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-applet_secret" class="form-control" name="row[applet_secret]" type="text" value="{$row.applet_secret|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('登录图片')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-login_img" class="form-control" size="50" name="row[login_img]" type="text" value="{$row.login_img|htmlentities}">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="faupload-login_img" class="btn btn-danger faupload" data-input-id="c-login_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-login_img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-login_img" class="btn btn-primary fachoose" data-input-id="c-login_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                                <span class="msg-box n-right" for="c-login_img"></span>
                            </div>
                            <ul class="row list-inline faupload-preview" id="p-login_img"></ul>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('RealNameAuthenticationStatus')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="radio">
                                {foreach name="realNameAuthenticationStatusList" item="vo"}
                                <label for="row[real_name_authentication_status]-{$key|htmlentities}"><input id="row[real_name_authentication_status]-{$key|htmlentities}" name="row[real_name_authentication_status]" type="radio" value="{$key|htmlentities}" {in name="key" value="$row.real_name_authentication_status"}checked{/in} /> {$vo|htmlentities}</label>
                                {/foreach}
                            </div>
                            <br>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">腾讯地图Key:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-tencent_map_web_service_key" class="form-control" name="row[tencent_map_web_service_key]" type="text" value="{$row.tencent_map_web_service_key|htmlentities}">
                            <span class="help-block" style="color: #f11414">提示：点击<a href="https://lbs.qq.com" target="_blank">腾讯位置服务</a>申请WebServiceApi的key</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">小程序备案号:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-applet_record_number" class="form-control" name="row[applet_record_number]" type="text" value="{$row.applet_record_number|htmlentities}">
                        </div>
                    </div>
                </div>
            </div>
            <!--支付设置-->
            <div role="tabpanel" class="tab-pane" id="payment">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Mch_id')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-mch_id" class="form-control" name="row[mch_id]" type="text" value="{$row.mch_id|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Key')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-key" class="form-control" name="row[key]" type="text" value="{$row.key|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Cert_path')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-cert_path" class="form-control" size="50" name="row[cert_path]" type="text" value="{$row.cert_path|htmlentities}">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="faupload-cert_path" class="btn btn-danger faupload" data-input-id="c-cert_path" data-preview-id="p-cert_path"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-cert_path" class="btn btn-primary fachoose" data-input-id="c-cert_path" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                            </div>
                            <div>
                                请在 “application/extra/upload.php”,文件中 mimetype(可上传的文件类型)加上'pem'文件类型
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Key_path')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-key_path" class="form-control" size="50" name="row[key_path]" type="text" value="{$row.key_path|htmlentities}">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="faupload-key_path" class="btn btn-danger faupload" data-input-id="c-key_path" data-preview-id="p-key_path"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-key_path" class="btn btn-primary fachoose" data-input-id="c-key_path" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!--小程序消息通知-->
            <div role="tabpanel" class="tab-pane" id="applet_notice">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Applet_passenger_cancellation_order_notice')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-applet_passenger_cancellation_order_notice" class="form-control" name="row[applet_passenger_cancellation_order_notice]" type="text" value="{$row.applet_passenger_cancellation_order_notice|htmlentities}">
                            <span class="help-block" style="color: #f11414">模板名称：{:__('Applet_passenger_cancellation_order_notice')}(类目:代驾服务)；模板关键词：取消人、取消时间、备注
</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Applet_audit_results_notice')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-applet_audit_results_notice" class="form-control" name="row[applet_audit_results_notice]" type="text" value="{$row.applet_audit_results_notice|htmlentities}">
                            <span class="help-block" style="color: #f11414">模板名称：{:__('Applet_audit_results_notice')}(类目:代驾服务)；模板关键词：审核状态、驾驶员姓名、审核时间、审核原因</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Applet_driver_cancellation_order_notice')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-applet_driver_cancellation_order_notice" class="form-control" name="row[applet_driver_cancellation_order_notice]" type="text" value="{$row.applet_driver_cancellation_order_notice|htmlentities}">
                            <span class="help-block" style="color: #f11414">模板名称：{:__('Applet_driver_cancellation_order_notice')}(类目:代驾服务)；模板关键词：司机姓名、出发时间、线路</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Applet_driver_in_position_reminder')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-applet_driver_in_position_reminder" class="form-control" name="row[applet_driver_in_position_reminder]" type="text" value="{$row.applet_driver_in_position_reminder|htmlentities}">
                            <span class="help-block" style="color: #f11414">模板名称：{:__('Applet_driver_in_position_reminder')}(类目:代驾服务)；模板关键词：下单时间、出发地、目的地、等待时间、司机信息</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Applet_driver_acceptance_notice')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-applet_driver_acceptance_notice" class="form-control" name="row[applet_driver_acceptance_notice]" type="text" value="{$row.applet_driver_acceptance_notice|htmlentities}">
                            <span class="help-block" style="color: #f11414">模板名称：{:__('Applet_driver_acceptance_notice')}(类目:代驾服务)；模板关键词：接单信息、司机姓名、司机电话、接单时间、预估费用</span>
                        </div>
                    </div>
                </div>
            </div>

            <!--订单设置-->
            <div role="tabpanel" class="tab-pane" id="order_set">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">确认取消订单:</label>
                        <div class="col-xs-12 col-sm-8">
                            <dl class="list-unstyled fieldlist" data-name="row[cancel_order_option]" data-template="row[array]tpl">
                                <dd>
                                    <ins>选项</ins>
                                </dd>
                                <dd>
                                    <ins><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></ins>
                                </dd>
                            </dl>

                            <textarea name="row[cancel_order_option]" class="form-control hide" cols="30" rows="5">{$row.cancel_order_option|htmlentities}</textarea>
                            <script id="row[array]tpl" type="text/html">
                                <dd class="form-inline">
                                    <ins><input type="text" name="<%=name%>[<%=index%>][value]" class="form-control" size="200" value="<%=row%>"/></ins>
                                    <ins>
                                        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
                                        <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
                                    </ins>
                                </dd>
                            </script>
                        </div>
                    </div>
                </div>
            </div>
            <!--websocket配置-->
            <div role="tabpanel" class="tab-pane" id="websocket">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">wss协议链接:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="radio">
                                {foreach name="wssSwitchList" item="vo"}
                                <label for="row[wss_switch]-{$key|htmlentities}"><input id="row[wss_switch]-{$key|htmlentities}" name="row[wss_switch]" type="radio" value="{$key|htmlentities}" {in name="key" value="$row.wss_switch"}checked{/in} /> {$vo|htmlentities}</label>
                                {/foreach}
                            </div>
                            <span>需要PHP安装了openssl扩展，否则开启无效，微信小程序必须开启。</span>
                        </div>
                    </div>
                </div>
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">pem/crt文件:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-wss_cert" class="form-control" size="50" name="row[wss_cert]" type="text" value="{$row.wss_cert|htmlentities}">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="faupload-wss_cert" class="btn btn-danger faupload" data-input-id="c-wss_cert" data-preview-id="p-wss_cert"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-wss_cert" class="btn btn-primary fachoose" data-input-id="c-wss_cert" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                            </div>
                            <div>
                                wss协议链接开启后“必填”且必须是绝对路径
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">key文件:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="input-group">
                                <input id="c-wss_key" class="form-control" size="50" name="row[wss_key]" type="text" value="{$row.wss_key|htmlentities}">
                                <div class="input-group-addon no-border no-padding">
                                    <span><button type="button" id="faupload-wss_key" class="btn btn-danger faupload" data-input-id="c-wss_key" data-preview-id="p-wss_key"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                    <span><button type="button" id="fachoose-wss_key" class="btn btn-primary fachoose" data-input-id="c-wss_key" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                </div>
                            </div>
                            <div>
                                wss协议链接开启后“必填”且必须是绝对路径
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">WebSocket端口:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-websocket_port" class="form-control" name="row[websocket_port]" type="text" value="{$row.websocket_port|htmlentities}">
                            <span>安全组和防火墙开放一个端口，宝塔安全需要开放端口，并填写至此处</span>
                        </div>

                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">服务注册端口:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-register_port" class="form-control" name="row[register_port]" type="text" value="{$row.register_port|htmlentities}">
                            <span>无需对外开放,未被占用的端口即可</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">内部通讯端口:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-internal_start_port" class="form-control" name="row[internal_start_port]" type="text" value="{$row.internal_start_port|htmlentities}">
                            <span>无需对外开放,未被占用的端口即可</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">Gateway进程数:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-gateway_process_number" class="form-control" name="row[gateway_process_number]" type="text" value="{$row.gateway_process_number|htmlentities}">
                            <span>设置为CPU核数相等的数量最好</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">Business进程数:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-worker_process_number" class="form-control" name="row[worker_process_number]" type="text" value="{$row.worker_process_number|htmlentities}">
                            <span>设为CPU核数的1-3倍</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">用户聊天常用语:</label>
                        <div class="col-xs-12 col-sm-8">
                            <dl class="list-unstyled fieldlist" data-name="row[user_common_phrases]" data-template="row[user_common_phrases_array]tpl">
                                <dd>
                                    <ins>选项</ins>
                                </dd>
                                <dd>
                                    <ins><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></ins>
                                </dd>
                            </dl>

                            <textarea name="row[user_common_phrases]" class="form-control hide" cols="30" rows="5">{$row.user_common_phrases|htmlentities}</textarea>
                            <script id="row[user_common_phrases_array]tpl" type="text/html">
                                <dd class="form-inline">
                                    <ins><input type="text" name="<%=name%>[<%=index%>][value]" class="form-control" size="200" value="<%=row%>"/></ins>
                                    <ins>
                                        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
                                        <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
                                    </ins>
                                </dd>
                            </script>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">司机聊天常用语:</label>
                        <div class="col-xs-12 col-sm-8">
                            <dl class="list-unstyled fieldlist" data-name="row[driver_common_phrases]" data-template="row[driver_common_phrases_array]tpl">
                                <dd>
                                    <ins>选项</ins>
                                </dd>
                                <dd>
                                    <ins><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></ins>
                                </dd>
                            </dl>

                            <textarea name="row[driver_common_phrases]" class="form-control hide" cols="30" rows="5">{$row.driver_common_phrases|htmlentities}</textarea>
                            <script id="row[driver_common_phrases_array]tpl" type="text/html">
                                <dd class="form-inline">
                                    <ins><input type="text" name="<%=name%>[<%=index%>][value]" class="form-control" size="200" value="<%=row%>"/></ins>
                                    <ins>
                                        <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
                                        <span class="btn btn-sm btn-primary btn-dragsort"><i class="fa fa-arrows"></i></span>
                                    </ins>
                                </dd>
                            </script>
                        </div>
                    </div>


                </div>
            </div>
            <!--行程录音功能-->
            <div role="tabpanel" class="tab-pane" id="sound_recording_set">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">{:__('SoundRecordingStatus')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <div class="radio">
                                {foreach name="soundRecordingStatusList" item="vo"}
                                <label for="row[sound_recording_status]-{$key|htmlentities}"><input id="row[sound_recording_status]-{$key|htmlentities}" name="row[sound_recording_status]" type="radio" value="{$key|htmlentities}" {in name="key" value="$row.sound_recording_status"}checked{/in} /> {$vo|htmlentities}</label>
                                {/foreach}
                            </div>
                            <br>
                        </div>
                    </div>
                    <div class="form-group sound_recording_expire_day  {if $row.sound_recording_status == 2}hide{/if}">
                        <label class="control-label col-xs-12 col-sm-2">{:__('Sound_recording_expire_day')}:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-sound_recording_expire_day" class="form-control" name="row[sound_recording_expire_day]" type="number" min="1" value="{$row.sound_recording_expire_day|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">行程录音介绍:</label>
                        <div class="col-xs-12 col-sm-8">
                            <textarea id="c-sound_recording_introduce" class="form-control editor" rows="5" name="row[sound_recording_introduce]" cols="50">{$row.sound_recording_introduce|htmlentities}</textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">行程录音信息处理协议:</label>
                        <div class="col-xs-12 col-sm-8">
                            <textarea id="c-sound_recording_information_processing_protocol" class="form-control editor" rows="5" name="row[sound_recording_information_processing_protocol]" cols="50">{$row.sound_recording_information_processing_protocol|htmlentities}</textarea>
                        </div>
                    </div>
                </div>
            </div>
            <!--阿里云短信服务-->
            <div role="tabpanel" class="tab-pane" id="alibaba_cloud">
                <div class="panel-body">
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">阿里云短信签名名称:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-alibaba_cloud_sign_name" class="form-control" name="row[alibaba_cloud_sign_name]" type="text" value="{$row.alibaba_cloud_sign_name|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">阿里云短信AccessKey ID:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-alibaba_cloud_access_key_id" class="form-control" name="row[alibaba_cloud_access_key_id]" type="text" value="{$row.alibaba_cloud_access_key_id|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">阿里云短信accessKey Secret:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-alibaba_cloud_access_key_secret" class="form-control" name="row[alibaba_cloud_access_key_secret]" type="text" value="{$row.alibaba_cloud_access_key_secret|htmlentities}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">用户报警通知短信模板:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-user_alarm_notify" class="form-control" name="row[user_alarm_notify]" type="text" value="{$row.user_alarm_notify|htmlentities}">
                            <span class="help-block" style="color: #f11414">模板内容：您使用了110报警功能紧急求助，求助位置${addres}。请 您尽快确认当前地址安全，必要时可联系警方。</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-2">好友报警通知短信模板:</label>
                        <div class="col-xs-12 col-sm-8">
                            <input id="c-friend_alarm_notify" class="form-control" name="row[friend_alarm_notify]" type="text" value="{$row.friend_alarm_notify|htmlentities}">
                            <span class="help-block" style="color: #f11414">模板内容：您的好友${name}，手机号${phone}使用了110报警功能紧急求助，求助位置${addres}。请 您尽快与好友联系确认安全，必要时可联系警方。</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
                    <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                </div>
            </div>
        </div>
    </form>
</div>